@layout("/common/container.html", {"title" : "用户管理", "plugin": "jstree"}){
<div class="card">
    <#card:head title="用户管理" icon="la la-user"/>
    <div class="card-body">
        <div class="row">
            <div class="col-lg-3 col-md-4 col-12 border-right">
                <form class="e-form e-padding-b-15">
                    <div class="input-group">
                        <input type="text" id="depart-title" class="form-control" placeholder="请输入关键字">
                        <div class="input-group-append">
                            <button id="search-depart-btn" class="btn btn-secondary" type="button">搜索</button>
                        </div>
                    </div>
                </form>

                <div id="depart-tree"></div>

                <div id="search-depart" class="e-hide">
                    <div class="tree"></div>
                    <button type="button" class="btn btn-metal btn-xs back-btn e-margin-t-5"><i
                            class="la la-undo"></i> 返回
                    </button>
                </div>
            </div>
            <div class="col-lg-9 col-md-8 col-12">
                <form class="e-form e-hide">
                    <div class="query-modular">
                        <div class="e-grid e-grid--ver e-grid--general">
                            <input type="hidden" name="deptId" id="deptId">
                            <div class="e-grid-item e-grid-item--fluid">
                                <div class="row">
                                    <div class="col-xl-4 col-lg-6 col-12">
                                        <#form:input id="username" name="用户名"/>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-12">
                                        <#form:input id="nickname" name="昵称"/>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-12">
                                        <#form:input id="phone" name="手机号"/>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-12">
                                        <div class="form-group row">
                                            <label class="col-4 col-form-label">状态：</label>
                                            <div class="col-8">
                                                <select class="form-control e-bootstrap-select select-picker"
                                                        id="status" name="status" data-dict-type="commonStatus"
                                                        onchange="ETool.selectData(this)">
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="e-grid-item query-btn-group">
                                <#btn:search />
                                <#btn:reset />
                            </div>
                        </div>
                    </div>
                    <div class="btn-row">
                        <#btn btnType="success" click="mUserList.addUser()" icon="la la-plus" name="新增" permission="sys:user:add" />
                        <#btn:delete permission="sys:user:delete"/>
                        <#btn btnType="warning" click="mUserList.resetPassword(this)" icon="la la-refresh" name="重置密码" permission="sys:user:reset:password" />
                        <#btn btnType="warning" click="mUserList.disableUser(this)" icon="la la-ban" name="禁用用户" permission="sys:user:disable" />
                        <#btn btnType="success" click="mUserList.enableUser(this)" icon="la la-check" name="启用用户" permission="sys:user:enable" />
                        <#tableTool />
                    </div>
                    <div class="e-datatable" id="user-list"></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--begin::页面脚本 -->
<#script src="static/modular/sys/user/list.js" />
<!--end::页面脚本 -->
@}